home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imagefxv2.1a.lha
/
ImageFX
/
Rexx
/
AutoFX
/
Load_Region.ifx.pre
< prev
next >
Wrap
Text File
|
1996-03-02
|
574b
|
31 lines
/*
* Load_Region.ifx.pre
* Written by Thomas Krehbiel
*
* Load a region mask.
*
* Inputs:
* Word(Arg(1),1) = Sequence number
* Word(Arg(1),2) = Total number of frames (N)
*
* Returns:
* 0 if successful, non-zero on failure
*
*/
OPTIONS RESULTS
base = 'Autofx_LoadRegion_'
reqdir = GETCLIP(base||'Path')
reqfile = GETCLIP(base||'File')
RequestFile '"Select Region Mask:"' '"'reqdir'"' '"'reqfile'"'
IF rc ~= 0 THEN EXIT rc
CALL SETCLIP(base||'Name', result)
CALL SETCLIP(base||'Path', filereq.path)
CALL SETCLIP(base||'File', filereq.file)
EXIT